package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购明细对象 ha_drug_purchase_item
 * 
 * @author 鲍小伟
 * @date 2025-11-26
 */
public class HaDrugPurchaseItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long itemid;

    /** 采购单ID */
    @Excel(name = "采购单ID")
    private Long purchaseid;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Long drugid;

    /** 刻度时间(厂家) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "刻度时间(厂家)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date calibrationTime;

    /** 刻度活度(MBq) */
    @Excel(name = "刻度活度(MBq)")
    private String activityMbq;

    /** 体积(mL) */
    @Excel(name = "体积(mL)")
    private String volumeMl;

    /** 数量 */
    @Excel(name = "数量")
    private Long unitNum;

    /** 单价(元/MBq) */
    @Excel(name = "单价(元/MBq)")
    private BigDecimal unitPrice;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** 铅罐编号 */
    @Excel(name = "铅罐编号")
    private String leadPotNo;

    /** 铅罐编号图片 */
    @Excel(name = "铅罐编号图片")
    private String leadPotImage;

    /** 运输单号 */
    @Excel(name = "运输单号")
    private String transportNo;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setItemid(Long itemid) 
    {
        this.itemid = itemid;
    }

    public Long getItemid() 
    {
        return itemid;
    }

    public void setPurchaseid(Long purchaseid) 
    {
        this.purchaseid = purchaseid;
    }

    public Long getPurchaseid() 
    {
        return purchaseid;
    }

    public void setDrugid(Long drugid) 
    {
        this.drugid = drugid;
    }

    public Long getDrugid() 
    {
        return drugid;
    }

    public void setCalibrationTime(Date calibrationTime) 
    {
        this.calibrationTime = calibrationTime;
    }

    public Date getCalibrationTime() 
    {
        return calibrationTime;
    }

    public void setActivityMbq(String activityMbq) 
    {
        this.activityMbq = activityMbq;
    }

    public String getActivityMbq() 
    {
        return activityMbq;
    }

    public void setVolumeMl(String volumeMl) 
    {
        this.volumeMl = volumeMl;
    }

    public String getVolumeMl() 
    {
        return volumeMl;
    }

    public void setUnitNum(Long unitNum) 
    {
        this.unitNum = unitNum;
    }

    public Long getUnitNum() 
    {
        return unitNum;
    }

    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }

    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }

    public void setLeadPotNo(String leadPotNo) 
    {
        this.leadPotNo = leadPotNo;
    }

    public String getLeadPotNo() 
    {
        return leadPotNo;
    }

    public void setLeadPotImage(String leadPotImage) 
    {
        this.leadPotImage = leadPotImage;
    }

    public String getLeadPotImage() 
    {
        return leadPotImage;
    }

    public void setTransportNo(String transportNo) 
    {
        this.transportNo = transportNo;
    }

    public String getTransportNo() 
    {
        return transportNo;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemid", getItemid())
            .append("purchaseid", getPurchaseid())
            .append("drugid", getDrugid())
            .append("calibrationTime", getCalibrationTime())
            .append("activityMbq", getActivityMbq())
            .append("volumeMl", getVolumeMl())
            .append("unitNum", getUnitNum())
            .append("unitPrice", getUnitPrice())
            .append("amount", getAmount())
            .append("leadPotNo", getLeadPotNo())
            .append("leadPotImage", getLeadPotImage())
            .append("transportNo", getTransportNo())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
